﻿@model Bordspil.Models.RegisterModel
@{
    ViewBag.Title = "Nýskrá";
}
<div id="groups">
<hgroup class="title">
    <h2 class="headingText">Nýskráning</h2>
</hgroup>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset id="registerField">
        <ol>
            <li>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.Email)
                @Html.TextBoxFor(m => m.Email)
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)
            </li>
             <li>
                @Html.LabelFor(m => m.Age)
                @Html.TextBoxFor(m => m.Age)
            </li>

        </ol>
        <input class="btn btn-danger btn-large" type="submit" value="Nýskrá"  id="move-button"/>
    </fieldset>
}
    </div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
